package com.itqf.Service.Topic;

import com.github.pagehelper.PageInfo;
import com.itqf.entity.Rotationchart;
import com.itqf.entity.Subject;
import com.itqf.entity.Topic;
import com.itqf.entity.Topicstage;

import java.util.List;

public interface TopicService {
    List<Topic> findtopic(int subjectId);

    List<Subject> findsubjects(int gardeId);


    PageInfo<Topic> findbysearchname(int pageindex, Integer pagesize, String searchname);

    List<Topic> findtopics();

    PageInfo<Topic> findchuzhongtops(int pageindex, Integer pagesize);

    Topic getTopicbytopid(int topicId);

    Topic findtopbytopicid(int topicId);

    PageInfo<Topic> findgaozhongtops(int pageindex, Integer pagesize);

    List<Topicstage> findtopicstagelist();

    List<Rotationchart> getrotationchart();

}
